import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'ph:student-light',
      title: $t('kinder.title'),
    },
    name: 'Kinder',
    path: '/Kinder',
    redirect: '/Kinder/math',
    children: [
      {
        name: 'math',
        path: '/math',
        component: () => import('#/views/kinder/math/index.vue'),
        meta: {
          icon: 'carbon:arithmetic-mean',
          title: $t('kinder.math'),
        },
      },
    ],
  },
];

export default routes;
